from concurrent.futures import ThreadPoolExecutor

def task(video_url):
    pass

pool = ThreadPoolExecutor(50)
for i in range(10000):
    pool.submit(task,"www.xxx")

pool.shutdown() #卡住等待所有任务完成

#更新订单状态，已完成